import React from 'react';
import {View} from "react-native";
import {Ticon} from "react-native-ticon";
import {Colors, Styles} from '../styles';


const defaultNavigationConfigure = (navigation) => {
    return {
        headerStyle: Styles.headerStyle,
        headerTitle: 'title',
        headerTitleStyle: Styles.headerTitleStyle,
        headerTintColor: Colors.headerTintColor,
        headerLeft: (
            <View style={Styles.headerLeft}>
                <Ticon name={"back-light"} size={28} color={Colors.headerTintColor} onPress={() => navigation.goBack()}/>
            </View>
        ),
        headerRight: <View style={Styles.headerRight}/>
    };
};

export {
    defaultNavigationConfigure
}
